package cn.tedu_03;

public class Test6 {
    public static void main(String[] args) {

        M m= new M(){

            @Override
            public void test() {
                System.out.println(12);
            }
        };
        m.test();
        m.show();


    }
}


abstract class M{
  public void show(){}
  abstract public void test();
}